from pydantic import ConfigDict

from app.models.operation_log import BaseOperationLog
from ..models.base import SQLBaseModel


class OperationLogCreate(BaseOperationLog):
    pass


class OperationLogOut(SQLBaseModel, BaseOperationLog):
    model_config = ConfigDict(from_attributes=True)

class OperationLogExport(OperationLogOut):
    model_config = ConfigDict(from_attributes=True)
